<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的订单</title>
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/order.css">
</head>

<body>
    <div class="container">
        <div class="header">
            <div class="lt" onclick="javascript:history.go(-1)">&lt;</div>
            <div class="ct">我的订单</div>
            <div class="rt"></div>
        </div>
        <div class="orders">



        </div>
    </div>
    <script type="text/html" id="tpl-orders">
{{each data}}
 <a href="orderDetail.html?id=11" class="order" >
            <div class="h">
                <div class="l">订单编号：{{$value.order_sn}}</div>
                <div class="r">{{$value.order_status_text}}</div>
            </div>
             {{each $value.goodsList}}
            <div class="goods" >
                <div class="img">
                    <img src="{{$value.list_pic_url}}"/>
                </div>
                
                <div class="info">
                    <span class="name">{{$value.goods_name}}</span>
                    <span class="number">共{{$value.number}}件商品</span>
                </div>
                  
                <div class="status"></div>
            </div>
            {{/each}}
            <div class="b">
                <div class="l">实付：￥{{$value.actual_price}}</div>
                <div class="r">
                    <button class="btn">去付款</button>
                </div>
            </div>
        </a>
{{/each}}
</script>
    <script src="./js/jquery.js"></script>
    <script src="./js/baseAPI.js"></script>
    <script src="./js/layui/layui.all.js"></script>
    <script src="./js/template-web.js"></script>
    <script src="./js/order.js"></script>

</body>

</html>